package project;

import java.io.IOException;

import jxl.read.biff.BiffException;
import jxl.write.WriteException;


import javax.swing.JFrame;

public class MainClass {
	
	
	public static void main(String[] args) throws BiffException, WriteException, IOException {

		Plane plane1 = new Plane(1001);
		
		plane1.printPlane();
		
		//customer1 test
		Customer c1 = new Customer("John", "Doe", 001);
		c1.setSeat("A2");
		plane1.setSeat("First", 'A', 2, 1);
		
		//customer2 test
		//Customer c2 = new Customer("Jane", "Doe", 002);
		//c2.setSeat("A3");
		//plane1.setSeat("First",  'A',  3,  1);
		
		
		plane1.printPlane();
		
		System.out.println(c1);
		//System.out.println(c2);
		
		/*SeatHandler mapGUI = new SeatHandler();
		mapGUI.setTitle("Airplane");
		mapGUI.setSize(600, 400);
		mapGUI.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		mapGUI.setVisible(true);*/
	
	}
}
